<?php $yes =  count($this->selectYes);
echo $yes;
?> people have decided to attend.
<?php 
echo $this->showInvitationResponse($this->selectYes);
?>
<p></p>
<?php 
$no = count($this->selectNo);
echo $no; ?> people have decided not to attend.
<?php 
echo $this->showInvitationResponse($this->selectNo);
?>
<p></p>
<?php 
$maybe = count($this->selectMaybe);
echo $maybe;
?> people not sure yet.
<?php 
echo $this->showInvitationResponse($this->selectMaybe);
?>
<p></p>
<?php echo count($this->notEchoUsers)?> people not even response.

<?php 

if($yes!=0){
$array[]=$yes;
$arraystr[]=urlencode("参加");
}
if($no!=0){
$array[]=$no;
$arraystr[]=urlencode("不参加");
}
if($maybe!=0){
$array[]=$maybe;
$arraystr[]=urlencode("看情况");
}



?>

<img src="http://chart.apis.google.com/chart?cht=p3&chs=250x100&chd=t:<?php echo implode(',',$array); ?>&chl=<?php echo implode('|',$arraystr);?>" />